<%@ page language="java" pageEncoding="UTF-8"%>
<link rel='stylesheet' href='../asset/common/css/bootstrap.min.css'>
<link rel='stylesheet' href='../asset/common/css/page.css'>

<script type='text/javascript' src='../dep/jquery-1.8.2.js'></script>
<script type='text/javascript' src='../dep/esl.js'></script>
<script type='text/javascript' src='../dep/bootstrap.min.js'></script>
<style>
.text-right {
	text-align: right;
	width: 8%;
	padding-right: 2px;
}

td {
	padding: 10px;
}

input.radio-margin0 {
	margin: 0;
}

#title {
	margin: 0;
	width: 50%;;
}

#abs {
	height: 60px;
	width: 52%;
}

#detail {
	height: 240px;
	width: 70%;
}

span {
	padding: 0 10px 0 5px;
	vertical-align: middle;
}

.inputsize {
   height: 16px;
   width: 90px;
}
.halfinputsize {
   height: 16px;
   width: 45px;
}

</style>

<script type="text/javascript">

function cancle()
{
	window.close();
}
require.config({		    
    'baseUrl': '../asset'
});
require(['admin-food-special-mod'], function(specialmod) {
	specialmod.init();
});

</script>

<script type='text/javascript' src='../dep/WdatePicker.js'></script>

<div class="control-group">
	<table>
		<tr>
			<td width="30%">
				<font>特价食品</font>
			</td>
			<td width="70%">
				<select  id="food_special_list" class="input-medium search-query">
					<option value="0">1</option>
				</select>
				<input id="hiddenfoodid" type="hidden" value="${special.foodid}">
				<input id="hiddenid" type="hidden" value="${special.id}">
			</td>
		</tr>
		<tr>
			<td width="30%">
				<font>特价日期</font>
			</td>
			<td width="70%">
				<input type="text" onClick="WdatePicker({isShowClear:false,readOnly:true})" id="food_special_date" value="${special.fooddate }" class="inputsize"/>
			</td>
		</tr>
		<tr>
			<td width="30%">
				<font>单品优惠金额</font>
			</td>
			<td width="70%">
				<input type="text" id="food_single_margin" value="${special.singlemarginStr }" class="inputsize"/>
			</td>
		</tr>
		<tr>
			<td width="30%">
				<font>套餐优惠金额</font>
			</td>
			<td width="70%">
				<input type="text" id="food_combo_margin" value="${special.combomarginStr }" class="inputsize"/>
			</td>
		</tr>
	</table>
	<button id="mod_food_special_confirm" type="button" class="btn btn-primary" data-toggle="button">确定</button>
	<button id="mod_food_special_cancle" type="button" onclick="cancle();" class="btn btn-primary" data-toggle="button">取消</button>
</div>
